package de.velvettear.squirrel.util;

import java.util.List;

import android.content.Context;
import android.content.Intent;
import android.content.pm.ResolveInfo;

public class ApplicationHelper {

	public static List<ResolveInfo> getApplicationList(Context context) {
		Intent mainIntent = new Intent(Intent.ACTION_MAIN, null);
		mainIntent.addCategory(Intent.CATEGORY_LAUNCHER);
		
		return (context.getPackageManager().queryIntentActivities(mainIntent, 0));	
	}
	
}
